package com.ruoyi.project.system.mapper;

import com.ruoyi.project.system.domain.SiyuShareCode;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SiyuShareCodeMapper {

    List<SiyuShareCode> selectSiyuShareCode(Long userId, String type);

    SiyuShareCode selectShareCode(Long userId, String type);

    Long selectUserIdByShareCode(String shareCode);

    int insertSiyuShareCode(SiyuShareCode siyuShareCode);

    int updateSiyuShareCode(Integer id);

    int updateShareCode(SiyuShareCode shareCode);

}
